{% extends "index.html" %}

{% block ip_content %}
<link rel="stylesheet" type="text/css" href="media/css/form.css">

{% if not udp_id %}
<form action="/iptables/rule/{{rule_id}}/add/udp/" method="post">
{% endif %}
{% if udp_id %}
<form action="/iptables/rule/{{rule_id}}/edit/udp/{{udp_id}}/" method="post">
{% endif %}

	<div id="container">
	<div id="kutubaslik"><strong>UDP Düzenleme Formu</strong></div>	
			<br/>
			<br/>
			<br/>
	<div id="leftcolumn">
	{{form.kaynak_port.label}}:{{form.kaynak_port}}
				
			
			</div>

			<div id="rightcolumn">
			
	{{form.hedef_port.label}}:{{form.hedef_port}}
			
			</div>




<div align="center"><input type="submit" value="Kaydet"/></div>
		</div>	


</form>

	{% if hatalar%}
		<div id="hata">{{hatalar}}</div>
	{% endif %}

{% if form.errors %}
<div id="hata">
	
	{{form.errors}}

</div>
{% endif %}
</div>

{% endblock %}